home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- echo ┌──────────────────────────────────────────────────────────────────────┐
- echo │ Example for a redirected input/output │
- echo │ OS9MAX can read all commands from a script or procedure file │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ Beispiel für Steuerung des Programmablaufes über eine Batchdatei │
- echo │ │
- echo │ Die Befehlssequenz (Makro) befindet sich in der Datei 'batch.cmd' │
- echo │ und soll automatisch abgearbeitet werden. Die OS-9 Diskette befindet │
- echo │ sich im Laufwerk B: │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ Startup: os9max [drive:] {[diskformat] [macrofile]} │
- echo └──────────────────────────────────────────────────────────────────────┘
-
- REM os9max b: 38w7 ''format -p'' (execute a command)
- REM os9max b: 38w7 ''format -p'' /z- (execute a command and redirect output)
-
- REM os9max b: auto (input from keyb, output to screen)
- REM os9max b: auto batch.cmd (input from file, output to screen)
- REM os9max b: auto batch.cmd /z- (input from file, output to file)
-
- os9max b: auto batch.cmd
-